﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Indexes;

namespace RavenDbStudy
{
    public class CustomerOrdersTask : AbstractIndexCreationTask<Order, CustomerOrdersByDay>
    {
        public CustomerOrdersTask()
        {
            Map = orders => from order in orders select new { order.CustomerId };
        }

    }
}
